package com.template.method.demo1;

public class TestDemo1 {

    public static void main(String[] args) {

        AbstractTemplate abstractTemplate = new ConcreteClassA();
        abstractTemplate.run("x");
        System.out.println("====================================");
        AbstractTemplate concreteClassB = new ConcreteClassB();
        concreteClassB.run("");
    }
}
